<?php
namespace App\Admin\Controllers\Tool;



use App\Http\Controllers\Controller;
use App\Models\Region;

class RegionController
{

    public function getCity()
    {
        return Region::query()->where('pid', request('q'))->orderBy('id')->select(['id', 'name as text'])->get();
    }
}
